package com.ychen.ruijee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ychen.ruijee.bean.User;
import com.ychen.ruijee.common.R;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * @author ychen@gotop.cn
 * @date 2024-06-05 23:38
 */
public interface UserService extends IService<User> {
    /**
     * 生成验证码信息
     * @param user
     * @param session
     * @return
     */
    R<String> sendMsg(User user, HttpSession session);

    /**
     * 移动端 用户登录
     * @param map
     * @param session
     * @return
     */
    User userLogin(Map map, HttpSession session);
}
